/* top/ */
.txt-verticalbd span:after {
  right: -5px;
}

/* @media (min-width:450px) and (max-width:834px) {
  section.sec-about {
    position: relative;
    bottom: clamp(-3%, -4%, -5%);
    left: 0;
    right: 0;
  }
} */

/* Firefox */
@-moz-document url-prefix() {
  .about-bt__b-l {
    -webkit-box-pack: none;
    justify-content: center;
    transform: translateX(-120px);
  }

  .about-bt__t-r {
    padding-right: 28vw;
  }
}

/* /menu */
/* Safari */
_::-webkit-full-page-media,
_:future,
:root .menu-banner__box {
  align-items: flex-start;
}

_::-webkit-full-page-media,
_:future,
:root .menu-banner__img {
  flex-shrink: 0;
  height: 286px;
}

_::-webkit-full-page-media,
_:future,
:root .menu-banner__ct {
  flex-shrink: 0;
}

/* menu/preventive/ */
.health-list__sub-item {
  height: 100%;
}

/* menu/aesthetic/ */
.page-aesthetic__ttl {
  font-size: clamp(2rem, 4.5vw, 4.2rem);
}

.c-ttl__14 .xs {
  font-size: max(1.6rem, 50%);
}

/* /menu/general */
@media screen and (max-width: 834px) {
  .preventive-list__program {
    /* flex-wrap: nowrap; */
  }
}

/* about */
@media screen and (max-width: 834px) {
  .page-treatment__list-ttl {
    position: relative;
  }

  .sec-mv {
    margin-bottom: 0;
  }

  .mv-box__img img {
    height: 100%;
    object-fit: cover;
  }

  .mv-box__img {
    display: block;
    width: 100%;
    margin: 0;
    height: 120vw;
    max-height: initial;
  }

  .preventive-list__flow-item:nth-child(2) .preventive-list__flow-img:after {
    display: block !important;
  }
}

.mCustomScrollBox {
  transform: scale(0.85) translateX(-3px);
}

/* 640px以下で430px✕200pxにトリミング */
@media screen and (max-width: 640px) {
  .sec-mvpage .mvpage-img img {
    aspect-ratio: 430 / 200;
  }
}

/* FV-SP画像切り替え用 */
@media (max-width:450px) {
  .sec-mvpage .mvpage-img {
    aspect-ratio: 3/2;
  }
}

/* タイムライン組み換え */
@media screen and (max-width: 834px) {

  /* .preventive-list__program-item {
    position: relative;
    overflow: hidden;
  }
  .preventive-list__program-note {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: fit-content;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    gap: 10px;
  }
  .preventive-list__program-note::before {
    width: 1px;
    left: 6px;
    content: "";
    position: absolute;
    height: 600px;
    top: -300px;
  }
  .preventive-list__program-note span {
    margin: 0;
    padding-top: 0;
    padding-left: 20px;
    position: relative;
    text-align: center;
    display: flex;
    margin-bottom: 0;
  }
  .preventive-list__program-note span::before {
    width: 13px;
    height: 13px;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
  }
  .preventive-list__program-ttl {
    width: calc(100% - 140px);
    margin-left: auto;
    font-size: 1.8rem;
  }
  .preventive-list__item .preventive-list__program p {
    width: calc(100% - 140px);
    margin-left: auto;
  }
  .preventive-list__program-item:nth-child(2) .preventive-list__program-note::before {
    width: 1px;
    left: 6px;
  }
  .preventive-list__program-item:nth-child(4) .preventive-list__program-note::before {
    width: 1px;
    left: 6px;
  } */
  .spt-slider {
    /* overflow-x: scroll; */
    width: 100%;
    border-bottom: 1px solid #80ad92;
    /* -ms-overflow-style: none;スクロールバー非表示 */
  }

  /* .spt-slider::-webkit-scrollbar{
    display: none;スクロールバー非表示
  } */
  .preventive-list__program {
    flex-wrap: nowrap;
    width: 1100px;
  }

  .preventive-list__program-note span {
    font-size: 1.2rem;
    white-space: nowrap;
  }

  .spt-slider .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    background-color: #80ad92;
  }
}

@media screen and (max-width: 450px) {
  /* .preventive-list__program-ttl:before {
    font-size: 1.4rem;
    padding: 8px 33px 10px 17px;
  }
  .preventive-list__program-ttl:after {
    font-size: 1.7rem;
    left: calc(50% + 49px);
  }
  .preventive-list__item .preventive-list__program p {
    width: calc(100% - 110px);
  }
  .preventive-list__program-ttl {
    width: calc(100% - 110px);
  }
  .preventive-list__item .preventive-list__program .preventive-list__program-note {
    font-size: 1.2rem;
  } */
}

/* アバウトページSPスクロール調整  */
@media screen and (max-width: 834px) {
  .page-treatment__patient .page-treatment__scroll {
    margin-right: initial;
    width: 100%;
  }

  .page-treatment__patient .mCustomScrollBox {
    width: 100%;
    transform: initial;
  }
}

/* 診療についてSafari_pc画像調整  */
.menu-banner__img img {
  width: 100%;
}

/* footerのインスタグラム */

.main-footer__instagram {
  color: #001a2b;
  font-size: 1.8rem;
}

.main-footer__instagram img {
  width: 30px;
  height: 30px;
}

@media screen and (max-width: 834px) {
  .main-footer__instagram {
    font-size: 1.4rem;
  }

  .main-footer__instagram img {
    width: 21px;
    height: 21px;
  }
}

/* about修正 */
.sec-medical__info-list {
  display: none;
}

@media screen and (max-width: 834px) {
  .sec-medical__info-list {
    display: grid;
    gap: 15px;
    width: 395px;
    margin: 0 auto;
    max-width: 100%;
  }

  .sec-medical__info-list li {
    gap: 30px;
  }
}

.sec-medical__info-list-ttl {
  font-size: 1.6rem;
  margin-bottom: 2px;
  line-height: 1.8;
}

.sec-medical__info-list-ttl .big {
  font-size: 120%;
}

.sec-medical__info-list-ttl::before {
  content: "●";
  font-size: 68%;
  display: inline-block;
  margin-right: 6px;
  transform: translateY(-1px);
  color: var(--key);
}

.sec-medical__info-list-ttl-txt {
  font-size: 1.4rem;
  line-height: 1.5;
  color: #6ba181;
  font-family: "IBM Plex Sans JP", sans-serif;
  margin-left: 17px;
}

@media screen and (max-width: 450px) {
  .sec-medical__info-list-ttl {
    font-size: 1.4rem;
  }

  .page-aesthetic__flex-img {
    width: 100%;
  }

  .page-aesthetic__flex-ct {
    width: 100%;
  }
}
.box-module__link.txt-module__underline {
  text-align: center;
  letter-spacing: normal;
  display: block;
  margin-top: 40px;
}

.box-module__link.txt-module__underline img {
  width: 20px;
  height: auto;
  margin-right: 10px;
}

@media screen and (max-width: 834px) {
  .box-module__link.txt-module__underline {
    margin-top: 20px;
  }
}