@charset "UTF-8";
/* =========================
  page-access
========================= */
.c-schedule__table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e1e1e1;
  color: #32313b;
  text-align: center;
}

.c-schedule__table th,
.c-schedule__table td {
  padding: 0.8em;
  border: 1px solid #e1e1e1;
  font-weight: 400;
  background-color: #fff;
}

.c-schedule__table td {
  color: #ed7c7e;
}

/* 見出し */
.c-schedule__table thead th {
  background-color: #ffe7e8;
  font-weight: 500;
}

/* 左列（時間帯） */
.c-schedule__table tbody th {
  background-color: #ffe7e8;
  text-align: left;
  white-space: nowrap;
}

/* =========================
  images
========================= */
.c-under-img--access {
  aspect-ratio: 640/426;
  overflow: hidden;
}

.c-under-img--access img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.c-under-img--implant01 img {
  width: 100%;
  aspect-ratio: 640/700;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.c-under-img--implant02 img {
  width: 100%;
  height: auto;
  max-height: 400px;
  -o-object-fit: contain;
     object-fit: contain;
}

.c-under-img--periodontal img,
.c-under-img--cavity img,
.c-under-img--damaged-teeth img,
.c-under-img--esthetic-ceramic img {
  width: 100%;
  aspect-ratio: 640/420;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

/* =========================
  titles / utility
========================= */
.c-under__mv-title--implant-second-opinion {
  font-size: 4rem;
}

.c-under-divider {
  width: 100%;
  height: 1px;
  background-color: #e0e0e0;
  margin: 40px auto;
}

.u-bold {
  font-weight: 700;
}

/* =========================
  price table
========================= */
/* 横スクロール用ラッパー */
.c-under-table-wrap--price {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* テーブル本体 */
.c-under-table--price {
  width: 100%;
  min-width: 450px;
  border-collapse: collapse;
  border: 1px solid #e1e1e1;
  border-bottom: none;
}
.c-under-table--price th,
.c-under-table--price td {
  border-bottom: 1px solid #e1e1e1;
  border-right: 1px solid #e1e1e1;
  vertical-align: middle;
  display: table-cell !important;
}
.c-under-table--price th {
  background-color: #ffd1d1;
}
.c-under-table--price th.u-text-price {
  font-size: 14px;
}
.c-under-table--price tr > *:last-child {
  border-right: none;
}

.c-under-table-wrap--price.non-slide {
  overflow-x: visible;
}
.c-under-table-wrap--price.non-slide .c-under-table--price {
  min-width: auto;
}
.c-under-table-wrap--price.non-slide .c-under-table--price.column2 th, .c-under-table-wrap--price.non-slide .c-under-table--price.column2 td {
  width: 50%;
}
.c-under-table-wrap--price.non-slide .c-under-table--price.column3 th, .c-under-table-wrap--price.non-slide .c-under-table--price.column3 td {
  width: 33.3%;
}
.c-under-table-wrap--price.non-slide .c-under-table--price.column4 th, .c-under-table-wrap--price.non-slide .c-under-table--price.column4 td {
  width: 25%;
}

.c-under-table--price.long {
  min-width: 720px;
}

/* long料金表は固定レイアウト */
.c-under-table--price.long {
  table-layout: fixed;
  width: 100%;
}

/* 種類 */
.c-under-table--price.long th:nth-child(1),
.c-under-table--price.long td:nth-child(1) {
  width: 16%;
}

/* 長所 */
.c-under-table--price.long th:nth-child(2),
.c-under-table--price.long td:nth-child(2) {
  width: 26%;
}

/* 短所 */
.c-under-table--price.long th:nth-child(3),
.c-under-table--price.long td:nth-child(3) {
  width: 22%;
}

/* 料金 */
.c-under-table--price.long th:nth-child(4),
.c-under-table--price.long td:nth-child(4) {
  width: 83px;
}

/* 審美性 */
.c-under-table--price.long th:nth-child(5),
.c-under-table--price.long td:nth-child(5) {
  width: 91px;
}

/* 耐久性 */
.c-under-table--price.long th:nth-child(6),
.c-under-table--price.long td:nth-child(6) {
  width: 91px;
}

/* 人気度 */
.c-under-table--price.long th:nth-child(7),
.c-under-table--price.long td:nth-child(7) {
  width: 91px;
}

/* 折り返し保険 */
.c-under-table--price.long td {
  word-break: break-word;
}

.c-link-underline {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: inherit;
}
.c-link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.c-link-underline:hover::after {
  transform: scaleX(1);
}

.under-implant-bnr{
  display: block;
  margin: 0 auto 40px;
  width: 500px;
  max-width: 100%;
}

.under-implant-bnr img {
  width: 100%;
  height: auto;
}

@media screen and (min-width: 768px) {
  .implant-top-mv img {
    aspect-ratio: 2/1!important;
    object-fit: cover!important;
    object-position: bottom center!important;
  }
}

@media screen and (max-width: 767px) {
  .implant-top-mv img {
    aspect-ratio: 1/1.65!important;
    object-fit: cover!important;
    object-position: top center!important;
  }
}

/* =========================
  SP only
========================= */
@media screen and (max-width: 767px) {
  /* schedule table */
  .c-schedule__table {
    font-size: 1.4rem;
    table-layout: fixed;
  }
  .c-schedule__table th,
  .c-schedule__table td {
    padding: 0.8em 0.4em;
  }
  .c-schedule__table thead th:first-child {
    width: 30%;
  }
  .c-schedule__table tbody th {
    white-space: nowrap;
  }
  .c-schedule__table td {
    width: 10%;
    font-size: 1.2rem;
  }
  /* images */
  .c-under-img--main.c-under-img--implant img {
    max-height: 350px;
  }
  /* titles */
  .c-under__mv-title--implant-second-opinion {
    font-size: 2rem;
  }
  /* price table */
  .c-under-table--price {
    font-size: 14px;
  }
  .c-under-table--price th.u-text-price {
    font-size: 12px;
  }
}