.top_mv {
  width: 100%;
  background-image: url(images/top_mv.webp);
  background-position: center;
  background-size: cover;
  height: 540px;
  margin: auto;
  position: relative;
  z-index: 0;
  display: grid;
  place-content: center;
  overflow: hidden;
  padding: 0 var(--clamp24);
}



@media (width < 768px) {
  .top_mv {
    background-image: url(images/top_mv_sp.webp);
    height: 500px;
    width: 100vw;
    background-position: center;
    background-size: cover;
    padding: 0;
  }


}

.top_mv h1 {
  font-size: var(--clamp24);
  font-family: var(--serif);
  font-weight: normal;
  text-align: center;
  color: var(--color);
  position: relative;
  z-index: 3;
  margin: 200px auto 0 auto;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.7);
  line-height: 200%;
  display: block;
  height: auto;
  padding: var(--clamp24);
  background-color: rgba(255, 255, 255, 0.7);
}

@media (width < 768px) {
  .top_mv h1 {
    font-size: var(--clamp16);
    margin: 130px auto 0 auto;
    position: absolute;
    bottom: 0;
  }
}

.oval {
  height: 260px;
  width: 400px;
  background-color: #323334;
  border-radius: 50%;
  transform: rotate(20deg);
  color: white;
  margin: auto;
  margin-top: -20px;
  margin-bottom: 64px;
  position: relative;
  z-index: 0;
}

@media (width < 768px) {
  .oval {
    height: 220px;
    width: 300px;
  }
}

.oval h2 {
  transform: rotate(-20deg);
  display: grid;
  place-content: center;
  height: 260px;
  width: 400px;
  z-index: 2;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  font-family: var(--serif);
  z-index: 2;
}

@media (width < 768px) {
  .oval h2 {
    height: 220px;
    width: 300px;
  }
}

.oval h2::before {
  border-bottom: 1px solid #fff;
  transform: rotate(90deg);
  content: "";
  width: 40px;
  margin: auto;
  margin-bottom: 40px;
  z-index: 2;
}

.oval h2::after {
  border-bottom: 1px solid #fff;
  transform: rotate(90deg);
  content: "";
  width: 40px;
  margin: auto;
  margin-top: 40px;
  z-index: 2;
}


.logo {
  max-width: 640px;
  top: var(--clamp64);
  height: auto;
  z-index: 2;
  position: absolute;
  bottom: auto;
  left: 0;
  right: 0;
  margin: auto;
}

.point {
  width: 100%;
  height: auto;
  background-image: url(images/top_bg.webp);
  background-repeat: no-repeat;
  background-size: 100% 96%;
  position: relative;
  z-index: 0;
  overflow: hidden;

}

.timetable {
  box-shadow: 0 6px 12px rgba(0, 0, 0, .2);
  z-index: 10;
}

.flex-normal {
  display: flex;
  flex-direction: row;
  gap: var(--clamp24);
  margin-bottom: var(--clamp32);
}

.flex-reverse {
  display: flex;
  flex-direction: row-reverse;
  gap: var(--clamp24);
  margin-bottom: var(--clamp32);
}

@media (width < 768px) {
  .flex-normal {
    flex-direction: column;
  }

  .flex-reverse {
    flex-direction: column;
  }
}

.flex-reverse > div,
.flex-normal > div {
  flex-basis: 60%;
  background-color: rgba(255, 255, 255, 0.8);
  padding: var(--clamp24);
}

@media (width < 768px) {

  .flex-reverse > div,
  .flex-normal > div {
    flex-basis: 100%;
  }
}

a.gotodetailbtn {
  display: grid;
  place-content: center;
  color: white;
  background-color: #2d5469;
  padding: 12px var(--clamp32);
  border-radius: 999px;
  white-space: nowrap;
  max-width: 320px;
  cursor: pointer;
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.cavity > div {
  background-color: transparent;
}

.implant > div {
  background-color: transparent;
}

.point section > figure {
  flex-basis: 40%;
  margin: auto;
}

@media (width < 768px) {
  .point section > figure {
    flex-basis: 100%;
  }
}

.point section figure img {
  max-width: 380px;
  width: 100%;
  margin: auto;
  object-fit: contain;
}

.point section h3 {
  padding-bottom: var(--clamp48);
  text-align: left;
  font-size: var(--clamp32);
  color: var(--navy);
  font-family: var(--serif);
}

@media (width < 768px) {
  .point section h3 {
    text-align: center;
  }
}

.point section h4 {
  padding-bottom: var(--clamp24);
  text-align: left;
  font-size: var(--clamp20);
  color: var(--navy);
  font-family: var(--serif);
}

@media (width < 768px) {
  .point section h4 {
    text-align: center;
  }
}

.point section p {
  padding-bottom: var(--clamp24);
  text-align: left;
  font-size: var(--clamp16);
}

.implant_bg {
  width: 100%;
  height: 560px;
  background-image: url(images/rect_blue.webp);
  background-repeat: no-repeat;
  background-size: 100% 660px;
  position: relative;
}

@media (width < 768px) {
  .implant_bg {
    width: 100%;
    height: 1024px;
    background-size: 100% 1024px;
  }
}

.implant h3 {
  margin-top: 100px;
}

@media (width < 768px) {
  .implant h3 {
    margin-top: 0;
  }
}

.preventive {
  margin-top: 80px;
}

@media (width < 768px) {
  .preventive {
    margin-top: 0;
  }
}

.cavity_bg {
  width: 100%;
  height: 660px;
  background-image: url(images/rect_gray.webp);
  background-repeat: no-repeat;
  background-size: 100% 660px;
  position: relative;
  margin-top: -90px;
}

@media (width < 768px) {
  .cavity_bg {
    width: 100%;
    height: 1040px;
    background-size: 100% 1040px;
    margin-top: 0;
  }
}

.cavity {
  position: absolute;
  top: -300px;
  left: 0;
  right: 0;
  left: 0;
  margin: auto;
}

@media (width < 768px) {
  .cavity {
    top: 0;
  }
}

.cavity h3 {
  margin-top: 500px;
  color: #b1ccda !important;
}

@media (width < 768px) {
  .cavity h3 {
    margin-top: 0;
    color: #b1ccda !important;
  }
}

.cavity h4 {
  color: #b1ccda !important;
}

.cavity p {
  color: white;
}

.news {
  padding: 0 24px;

}

.news .u-inner {
  border-top: 1px solid #1d1e29;
  border-bottom: 1px solid #1d1e29;
  padding: 48px 0;
  margin: 64px auto;
  max-width: 720px;
}

.news h2 {
  color: #1d1e29;
  background-color: white;
  text-align: center;
  display: block;
  width: fit-content;
  margin: auto;
  margin-bottom: 32px;
  font-size: var(--clamp24);
}

.news ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--clamp20);
}

.news h3 {
  font-weight: 600;
  font-size: var(--clamp20);
  margin-bottom: 8px;
  margin-top: 24px;
}

.mouthpiece_banner {
  max-width: 960px;
  margin: auto;
  display: block;
  padding: 0 32px 48px 32px;
  width: 100%;
}

@media (width < 1024px) {
  .mouthpiece_banner {
    max-width: 834px;
  }
}

.mouthpiece_banner2 {
  max-width: 680px;
  margin: auto;
  display: block;
  padding: 0 32px 6px 32px;
  width: 96%;
}

.instagram {
  margin-bottom: 128px;
}

.instagram h2 {
  color: #1d1e29;
  background-color: white;
  text-align: center;
  display: block;
  width: fit-content;
  margin: auto;
  margin-bottom: 32px;
  font-size: var(--clamp24);
}

.insta-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  list-style: none;

}

.banner_insta {
  max-width: 900px;
  margin: auto;
  width: 100%;
  display: block;
}


.insta-thumb img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
}