@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");
:root {
  --noto: "Noto Sans JP", sans-serif;
}

.l-under-page {
  color: #32313b;
}
.l-under-page main {
  margin-top: 60px;
}
.l-under-page img {
  max-width: 100%;
  height: auto;
}
.l-under-page p {
  font-size: 1.4rem;
}

.c-under__mv-box {
  min-height: 390px;
  background-image: url(../img/under/webp/under_mv.webp);
  background-size: cover;
  background-position: left 10% center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.c-under__mv-title-block {
  background-color: #fff;
  padding: 40px 20px;
  width: 90%;
  max-width: 695px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  height: -moz-fit-content;
  height: fit-content;
  white-space: nowrap;
}

.c-under__mv-title {
  font-family: "Marcellus SC", serif;
  font-size: 1.5rem !important;
  text-align: center;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}

.c-under__mv-title::first-letter {
  color: #ef9d4d;
}

.c-under__mv-subtitle {
  text-align: center;
  font-size: 2.4rem;
}

.c-under-section {
  padding: 60px 0;
}
.c-under-section p {
  font-family: var(--noto);
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 1em;
}

.c-under-title {
  font-size: 2.4rem;
  text-align: center;
  position: relative;
  margin-bottom: 50px;
  font-weight: 400;
}
.c-under-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background-color: #ef9d4d;
  display: block;
}

.c-under-img--main {
  width: 100%;
  max-width: 640px;
  margin: 0 auto 20px;
}
.c-under-img--main img {
  width: 100%;
}

.u-bg--lorange {
  background-color: #fff7f0;
}

.c-check__list {
  background-color: #fff;
  padding: 30px 20px;
  list-style: none;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.c-check__list li {
  position: relative;
  padding-left: 1.6em;
  padding-left: 1.6em;
}
.c-check__list li:last-child {
  margin-bottom: 0;
}
.c-check__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.6rem;
  line-height: 1.5;
  display: block;
  background-image: url(../img/under/webp/check.webp);
  background-size: contain;
  background-repeat: no-repeat;
  aspect-ratio: 22/21;
  width: 1.4em;
}

.c-bg-box--lorange {
  background-color: #fff7f0;
  padding: 20px;
}

.c-under-subtitle {
  border-bottom: 1px solid #e1e1e1;
  padding-bottom: 0.7em;
  font-size: 2rem;
  position: relative;
  font-weight: 400;
  margin-bottom: 1em;
  line-height: 1.5;
}
.c-under-subtitle::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 1px;
  background-color: #ef9d4d;
  display: block;
}

.c-flow__list {
  display: flex;
  flex-direction: column;
  gap: 60px;
  list-style: none;
}
.c-flow__list > li {
  position: relative;
}
.c-flow__list > li::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #ef9d4d;
  display: block;
}
.c-flow__list > li:last-child::after {
  display: none;
}

.c-flow__list-img {
  width: 100%;
  margin-bottom: 10px;
}
.c-flow__list-img img {
  width: 100%;
}

.c-flow__list-title {
  background-color: #ef9d4d;
  padding: 0.7em;
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 1em;
}

.c-flow__list-content p:last-child {
  margin-bottom: 0;
}

.c-under-title--dot {
  font-size: 1.6rem;
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 1em;
  line-height: 1.5;
}
.c-under-title--dot::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 0.8em;
  height: 0.8em;
  background-color: #ef9d4d;
  border-radius: 50%;
  display: block;
}

.c-under-link {
  display: block;
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  color: #32313b;
  padding-right: 1.6em;
  font-size: 1.4rem;
}
.c-under-link::after {
  content: "";
  position: absolute;
  top: 55%;
  right: 0;
  transform: translate(0, -50%);
  width: 1.2em;
  height: 1.2em;
  background-image: url(../img/under/webp/arrow_circle.webp);
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  display: block;
  transition: all 0.3s ease;
}
.c-under-link::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: calc(100% - 1.6em);
  height: 1px;
  background-color: #32313b;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.3s ease;
  display: block;
}
.c-under-link:hover::before {
  transform: scaleX(0);
}
.c-under-link:hover::after {
  transform: translate(3px, -50%);
}

.c-list--bg {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  list-style: none;
}
.c-list--bg li {
  padding: 15px;
  font-size: 1.4rem;
  font-family: var(--noto);
  font-weight: 400;
  background-color: #fff7f0;
}

.p-contact__tel-btn {
  font-weight: bold !important;
  font-size: 2.4rem !important;
  font-family: "Shippori Mincho", serif !important;
}

.p-access-map {
  max-width: 1280px;
  margin: 0 auto;
}

.p-access-map iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280/740;
}

.c-gallery-list {
  list-style: none;
  display: flex;
  gap: 20px 2%;
  flex-wrap: wrap;
}
.c-gallery-list li {
  width: 100%;
}

.sp-slide {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sp-slide--ceramic {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.sp-slide--ceramic > * {
  width: 800px !important;
}

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

.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.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.8 !important;
    object-fit: cover!important;
    object-position: bottom center!important;
  }
}

@media screen and (min-width: 768px) {
  .c-under__mv-box {
    min-height: 360px;
  }
  .c-under__mv-title {
    font-size: 1.6rem !important;
  }
  .c-under__mv-title-block {
    width: -moz-fit-content;
    width: fit-content;
    min-width: 640px;
    padding: 50px 5%;
    max-width: 100%;
    margin-bottom: 0;
  }
  .c-under__mv-subtitle {
    font-size: 3rem;
  }
  .c-under-title {
    font-size: 2.8rem;
    margin-bottom: 70px;
  }
  .c-under-subtitle {
    font-size: 2.8rem;
    margin-bottom: 1.4em;
  }
  .c-flow__list > li {
    flex-direction: row;
    gap: 20px;
    display: flex;
  }
  .c-flow__list-img {
    width: 30%;
  }
  .c-flow__list-content {
    width: calc(70% - 20px);
  }
  .c-under-section p {
    font-size: 1.6rem;
  }
  .c-check__list {
    gap: 20px;
    padding: 40px 30px;
  }
  .c-check__list li {
    width: calc(50% - 20px);
  }
  .c-flow__list-title {
    font-size: 2rem;
  }
  .c-under-title--dot {
    font-size: 2rem;
  }
  .c-bg-box--lorange {
    padding: 35px;
  }
  .c-under-link {
    font-size: 1.6rem;
  }
  .p-contact__tel-btn {
    font-size: 3.2rem !important;
  }
  .c-gallery-list li {
    width: 32%;
  }
  .sp-slide {
    overflow-x: visible;
  }
  .sp-slide > * {
    width: 100% !important;
  }
}
@media screen and (min-width: 900px) {
  .l-under-page main {
    margin-top: 144px;
  }
}