@charset "utf-8";

.page-top {
  font-size: 15px;
  line-height: 180%;
}

.page-top p {
  font-size: 15px;
  line-height: 180%;
}

.txt-n {
  font-size: 20px !important;
  line-height: 32px !important;
}

.txt-m {
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 36px;
}

.txt-b {
  font-size: 28px;
  letter-spacing: 1px;
  line-height: 40px;
}

.page-top .sp-none {
  display: none;
}

#logo {
  box-sizing: border-box;
  margin: 10px 0 10px 5%;
  position: relative;
  width: 200px;
  z-index: 2;
}

#logo img {
  display: block;
  height: auto;
  padding: 0;
  width: 100%;
}

main {
  background: linear-gradient(180deg, #f7eeeb 0%, #f4e6e5 70%, #f4e4e4 100%);
}

#mainvl {
  position: relative;
  z-index: 3;
}

.mimg {
  border-bottom-left-radius: 70px;
  height: 540px;
  margin-left: auto;
  overflow: hidden;
  position: relative;
  width: 95%;
  z-index: 1;
}

.mimg .swiper {
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1;
}

.mimg .swiper-slide {
  height: 100%;
  width: 100%;
}

.mbox {
  margin: 40px auto 0;
  width: 90%;
  z-index: 3;
}

.mtxt {
  margin-top: 30px;
}

.mttl,
.mttl span {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-size: 34px;
  font-style: normal;
  font-weight: 600;
  line-height: 70px;
  text-shadow: 2px 2px 5px rgba(255, 255, 255, .90);
  white-space: nowrap;
}

.mttl span {
  color: var(--color-main-default);
}

.mainen {
  left: 0;
  position: absolute;
  text-align: center;
  top: 380px;
  width: 100%;
  z-index: 2;
}

.mainen .en {
  color: rgba(255,255,255,.5);
  display: inline-block;
  font-size: 90px;
  font-weight: bold;
  line-height: 100px;
}

#mainvl2 {
  margin-top: 50px;
  position: relative;
  z-index: 2;
}

.mimg2 {
  border-top-right-radius: 70px;
  height: 350px;
  margin-top: 50px;
  overflow: hidden;
  position: relative;
  width: 95%;
  z-index: 1;
}

.mimg2 img {
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
}

.mbox2 {
  margin: 0 auto;
  position: relative;
  width: 90%;
  z-index: 2;
}

.mbox2 ul {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  justify-content: center;
  list-style: none;
  padding: 0;
}

.mbox2 li {
  align-items: center;
  background: #fff;
  border-radius: 15px;
  box-sizing: border-box;
  display: flex;
  gap: 15px;
  margin: 0 auto;
  padding: 11px 15px;
  width: 100%;
}

@media (max-width: 640px) {
  .mbox2 ul {
    grid-template-columns: 1fr;
  }
}

.mbox2 li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: 380px;
}



.icon {
  background: var(--color-accent);
  border-radius: 50%;
  margin: 0 auto 15px;
  padding: 15px;
  width: 120px;
}

.mbox2 li .icon {
  margin: 0;
  padding: 8px;
  width: 55px;
}

.icon img {
  display: block;
  height: auto;
  padding: 0;
  width: 100%;
}

.itxt,
.itxt span {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 3px;
  line-height: 160%;
}

.itxt span {
  font-size: 20px;
}

.itxt .txt-m {
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 36px;
  padding: 0 3px;
}

.itxt {
  flex: 1;
}

.ttl {
  margin-bottom: 30px;
  position: relative;
}

.ttl h2,
.ttl h2 span,
.trebox li h2 {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 50px;
  position: relative;
  z-index: 2;
}

.ttl .en {
  color: #fff;
  font-size: 80px;
  font-weight: 600;
  line-height: 90px;
  position: absolute;
  right: 0;
  top: -30px;
  z-index: 1;
}

#information .ttl .en {
  left: 0;
  top: -50px;
}

#implant .ttl .en {
  left: 0;
  top: -50px;
}

#treatment .en {
  color: #fff;
  font-size: 80px;
  font-weight: 600;
  line-height: 90px;
  position: relative;
}

#features .ttl .en {
  color: rgba(255,255,255,.5);
}

.pointnav {
  position: relative;
  z-index: 3;
}

.pointnav ul {
  align-items: center;
  display: flex;
  justify-content: center;
}

.pointnav li {
  display: inline-block;
  margin-left: 15px;
}

.pointnav li a {
  align-content: center;
  border: 1px solid #eacbca;
  border-radius: 50%;
  color: var(--color-main-default);
  display: block;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-size: 28px;
  font-style: normal;
  font-weight: bold;
  height: 70px;
  text-align: center;
  width: 70px;
}

.pointnav li a:hover {
  background: #fff;
}

.pointbox {
  overflow: hidden;
}

.pointbox .swiper-slide {
  padding: 30px 10px 0 20px;
  width: 570px;
}

@media screen and (min-width: 700px) {
  .pointbox .swiper-slide {
    width: 570px;
  }
}

.pimg {
  margin-bottom: 30px;
}

.pimg img {
  border-radius: 15px;
}

.pttl {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.pttl .en {
  color: var(--color-main-default);
  font-size: 64px;
  font-weight: 600;
  line-height: 75px;
  width: 80px;
}

.pttl h3 {
  flex: .95;
  font-weight: 600;
}

.ptxt {
  padding: 0 10px;
}

#information .co-t {
  padding-top: 90px;
}

.flex-sb .c-half:last-of-type {
  margin-top: 50px;
}

.newspost li {
  border-top: 1px solid #eacbca;
  padding: 20px 0;
}

.newspost li:first-child {
  border-top: none;
  padding-top: 0;
}

.btn a,
.btn span {
  background: #fff;
  border: 1px solid #eacbca;
  border-radius: 50px;
  box-sizing: border-box;
  color: var(--color-text-default);
  cursor: pointer;
  display: block;
  font-weight: 500;
  padding: 12px 10px;
  text-align: center;
}

.btn a:hover,
.btn span:hover {
  color: var(--color-main-default);
}

.hours table {
  border: 3px solid #f4e4e4;
  border-radius: 15px;
  box-sizing: border-box;
  overflow: hidden;
}

.hours th {
  background: #f4e4e4;
  padding: 15px 10px;
  text-align: center;
}

.hours td {
  background: #fff;
  padding: 15px 10px;
  text-align: center;
}

.cel {
  letter-spacing: 10px;
  width: 20%;
}

.hours td span {
  color: var(--color-main-default);
  font-weight: bold;
}

.imp-bnr {
  background: #faf4e3;
  border-radius: 70px;
  box-sizing: border-box;
  margin: 0 auto;
  overflow: hidden;
  padding: 60px 50px 400px 50px;
  position: relative;
  width: 95%;
}

.imp-bnr::after {
  background: url(../img/bg2s.png) no-repeat center center;
  background-size: cover;
  bottom: 0;
  content: '';
  height: 350px;
  position: absolute;
  right: 0;
  width: 100%;
  z-index: 1;
}

.imp-txt {
  position: relative;
  z-index: 2;
}

.imp-txt h3 {
  white-space: nowrap;
}

.doc-list ul {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}

.doc-list li {
  width: 32%;
}

.doc-name p,
.doc-name h3,
.doc-name span {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 600;
}

.doc-img {
  aspect-ratio: 1/1;
  border-radius: 15px;
  margin: 20px 0;
  overflow: hidden;
  width: 100%;
}

.modal {
  align-items: center;
  background: rgba(0,0,0,.7);
  display: flex;
  height: 100%;
  justify-content: center;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  transition: .5s;
  visibility: hidden;
  width: 100%;
  z-index: 9999;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-inner {
  background: #fff;
  border-radius: 15px;
  max-height: 80vh;
  opacity: 0;
  overflow: auto;
  padding: 60px;
  position: relative;
  transform: translateY(30px);
  transition:
    opacity .6s ease,
    transform .6s ease;
  width: min(90%, 800px);
}

.modal.active .modal-inner {
  opacity: 1;
  transform: translateY(0);
}

.modal-scroll {
  max-height: calc(80vh - 120px);
  overflow: auto;
  padding-right: 5px;
}

.close {
  cursor: pointer;
  font-size: 30px;
  position: absolute;
  right: 20px;
  top: 20px;
}

.profile {
  border-top: 1px solid #ddd;
  margin-top: 40px;
}

.t-line {
  border-top: 1px solid #ddd;
}

.profile h4 {
  background: #f4e4e4;
  margin-top: 40px;
  padding: 10px 15px;
}

.profile ul {
  display: block;
  padding-top: 20px;
}

.profile li {
  align-items: flex-start;
  display: flex;
  justify-content: flex-start;
  padding: 5px;
  width: 100%;
}

.yr {
  width: 120px;
}

.febox li {
  align-items: stretch;
  background: #fff;
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  overflow: hidden;
}

.febox li:nth-child(even) {
  flex-direction: row-reverse;
}

.febox li:last-child {
  margin-bottom: 0;
}

.fimg {
  min-height: 390px;
  overflow: hidden;
  position: relative;
  width: 45%;
}

.fimg img {
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
}

.ftxt {
  box-sizing: border-box;
  flex: 1;
  padding: 40px;
}

.ftxt h3,
.ftxt h3 span {
  font-weight: 600;
}

.ftxt h3 span {
  color: var(--color-main-default);
}

.trebox ul {
  align-items: stretch;
  -webkit-box-lines: multiple;
  -moz-box-lines: multiple;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  justify-content: center;
}

.trebox li {
  background: #fff;
  border: 3px solid #f7eeeb;
  border-radius: 15px;
  box-sizing: border-box;
  padding: 30px;
  position: relative;
  text-align: center;
  width: 33%;
}

.tretxt {
  margin-top: 20px;
  text-align: left;
}

.trebox li h2 {
  left: 50%;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
}

.trebox h2,
.trebox h3 {
  font-weight: 600;
}

.actxt {
  margin-top: 40px;
}

.map {
  border-radius: 15px;
  height: 350px;
  overflow: hidden;
  width: 100%;
}

.map iframe {
  height: 100%;
  width: 100%;
}

.flex-insta {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flex-insta .ttl {
  align-items: center;
  display: flex;
  flex-direction: column;
  width: 250px;
}

.i-insta {
  margin-top: 30px;
}

.i-insta a {
  background: url(../img/insta.png) no-repeat left center;
  background-size: 40px;
  color: var(--color-text-default);
  display: block;
  font-size: 18px;
  font-weight: 500;
  padding: 10px 0 10px 50px;
}

.instagram-feed {
  flex: .9;
}

.flex-insta .btn {
  width: 100%;
}

footer {
  background: #fff;
}

#ftlogo {
  margin-bottom: 20px;
  width: 200px;
}

#ftlogo img {
  display: block;
  height: auto;
  padding: 0;
  width: 100%;
}

.ft-info p {
  font-size: 15px;
  line-height: 2em;
}


.ft-btn {
  margin: 30px 0 10px;
  width: 500px;
}

.ft-btn a {
  background: var(--color-main-default);
  border-radius: 15px;
  color: #fff;
  display: block;
  overflow: hidden;
  padding: 60px 10px;
  position: relative;
}

.ft-btn a span {
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  width: 50%;
}

.ft-btn a:hover {
  background: #f4e4e4;
  color: var(--color-main-default);
}

.ft-btn a:hover::after {
  opacity: .8;
}

.ft-btn a::after {
  background: url(../img/ftbtn.jpg) no-repeat center center;
  background-size: cover;
  content: '';
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
}

#copyright {
  color: #dadada;
  font-size: 14px;
  line-height: 30px;
}

.fixbtn {
  background: #fff;
  border-top: 1px solid #ddd;
  bottom: 0;
  left: 0;
  padding: 10px 0;
  position: fixed;
  width: 100%;
  z-index: 12;
}

.fixbtn a {
  background: var(--color-main-default) url(../img/tel.svg) no-repeat 15px center;
  background-size: 20px;
  border-radius: 50px;
  box-sizing: border-box;
  color: #fff;
  display: block;
  font-size: 16px;
  font-weight: 500;
  margin: 0 auto;
  padding: 12px 10px;
  text-align: center;
  width: 82%;
}


@media screen and (max-width: 850px) {

  .febox li{
    display: block;
  }

  .fimg{
    aspect-ratio: 5/3;
    min-height: inherit;
    width: 100%;
  }
}

.tb-none {
  display: none;
}

.main-txt {
  font-size: 15px;
  line-height: 180%;
}